home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / bibtex / mac / macbibtex11.hqx / 0.99c Sources / MacBibTeX 0.99c v1.1.sit / MacBibTex 0.99c V1.1 / site.h < prev   
Text File  |  1988-09-02  |  4KB  |  119 lines

  1. /*
  2.  * Master configuration file for C versions of TeX and Metafont
  3.  *
  4.  * Tim Morgan  2/13/88
  5.  *    Last updated 7/1/88
  6.  */
  7.  
  8. /*
  9.  * Default editor command string: %d expands to the line number where
  10.  * TeX or Metafont found an error and %s expands to the name of the file.
  11.  */
  12. #define    EDITOR        "/usr/ucb/vi +%d %s"
  13.  
  14. /*
  15.  * If the type "int" is at least 32 bits (including a sign bit), this
  16.  * symbol should be #undef'd; otherwise, it should be #define'd.  If
  17.  * your compiler uses 16-bit int's, arrays larger than 32kb may give
  18.  * you problems, especially if indices are automatically cast to int's.
  19.  */
  20. #define    SIXTEENBIT
  21.  
  22. /*
  23.  * Our character set is 7-bit ASCII unless NONASCII is defined.
  24.  * For other character sets, make sure that first_text_char and
  25.  * last_text_char are defined correctly in TeX (they're 0 and 127,
  26.  * respectively, by default).  In the file tex.defines, change
  27.  * the indicated range of type "char" to be the same as
  28.  * first_text_char..last_text_char, re-tangle, and "#define NONASCII".
  29.  */
  30. #undef    NONASCII
  31.  
  32. /* Define if we're running under System V */
  33. #undef    SYSV
  34.  
  35. /* Define if we're running under 4.2 or 4.3 BSD */
  36. #define    BSD
  37.  
  38. /*
  39.  * The type "schar" should be defined here to be the smallest signed
  40.  * type available.  ANSI C compilers may need to use "signed char".
  41.  * If you don't have signed characters, then use "short".
  42.  */
  43. typedef    char schar;
  44.  
  45. /*
  46.  * The type "integer" must be a signed integer capable of holding at
  47.  * least the range of numbers (-2^31)..(2^32-1).
  48.  * The ANSI draft C standard says that "long" meets this requirement.
  49.  */
  50. typedef long integer;
  51.  
  52. /* Boolean can by any convenient type */
  53. typedef char boolean;
  54.  
  55. /*
  56.  * The type glueratio should be a floating-point type which won't
  57.  * unnecessarily increase the size of the memoryword structure.
  58.  * If you're building a normal-sized TeX, then it must meet
  59.  * the following restriction: sizeof(glueratio) <= sizeof(integer).
  60.  * But if you build a BIG TeX, you can and should change this to
  61.  * double to avoid loss of precision and conversions to and from
  62.  * double during calculations.
  63.  */
  64. typedef float glueratio;
  65.  
  66. /* Real can by any convenient floating-point type */
  67. typedef double real;
  68.  
  69. /* TeX search paths: This is what we use on macs. */
  70. #define    TEXINPUTS    "."
  71. #define    TEXFONTS    "."
  72. #define    TEXPOOL        "."
  73. #define    TEXFORMATS    "."
  74.  
  75. /* Metafont search paths, I don't know what this is but I don't like it, jws*/
  76. #define    MFINPUTS    "."
  77. #define    MFBASES        "."
  78. #define    MFPOOL        "."
  79.  
  80. /* Fix so we don't actually call exit() for ok conditions */
  81. #define exit LocalExit
  82.  
  83. /*
  84.  * Metafont Window Support: More than one may be defined, as long
  85.  * as you don't try to have X10 and X11 support in the same binary
  86.  * (because there are conflicting routine names in the libraries).
  87.  */
  88. #undef    SUNWIN            /* SunWindows support */
  89. #undef    X10WIN            /* X Version 10 support */
  90. #undef    X11WIN            /* X Version 11 support */
  91. #undef    HP2627WIN        /* HP 2627 support */
  92. #undef    TEKTRONIXWIN        /* Tektronix 4014 support */
  93.  
  94. /* NB: You can't define X10WIN and X11WIN simultaneously */
  95. #ifdef X10WIN
  96. #ifdef X11WIN
  97. syntax error
  98. #endif
  99. #endif
  100.  
  101. /*
  102.  * The maximum length of a filename including a directory specifier.
  103.  * This value is also defined in the change files for tex and mf, so
  104.  * it appears in texd.h and mfd.h as "filenamesize".  It can be safely
  105.  * changed in these files if necessary, although you should really edit
  106.  * the files tex/ctex.ch and mf/cmf.ch.  Most sites should not have to
  107.  * change this value anyway, since it doesn't hurt much if it's too large.
  108.  * If you change it here, then change it in both the changefiles to match!
  109.  */
  110. #define    FILENAMESIZE    1024
  111.  
  112. /*
  113.  * Define the variable REGFIX if you want TeX to be compiled with local
  114.  * variables declared as "register".  On SunOS 3.2 this will cause
  115.  * problems, and possibly with other C compilers as well, so if you have
  116.  * problems with the trip test, try #undef'ing it.
  117.  */
  118. #define    REGFIX
  119.